import { createPinia } from 'pinia'
import piniaPluginPersistUni from 'pinia-plugin-persist-uni'


const pinia = createPinia();
pinia.use(piniaPluginPersistUni); // 使用持久化插件
export const setupPinia = (app) => {
  return app.use(pinia)
}
export { pinia };

